package com.ss.android.lockscreen.views;

import android.content.Context;
import android.support.v4.view.animation.LinearOutSlowInInterpolator;
import android.util.AttributeSet;
import android.view.MotionEvent;
import java.lang.reflect.Field;

public class c extends b {
    public c(Context arg1) {
        super(arg1);
        this.g();
    }

    public c(Context arg1, AttributeSet arg2) {
        super(arg1, arg2);
        this.g();
    }

    public final void f() {
        this.onPageScrolled(0, 0f, 0);
    }

    private void g() {
        try {
            Field v0_1 = Class.forName("android.support.v4.view.ViewPager").getDeclaredField("mScroller");
            a v1 = new a(this.getContext(), new LinearOutSlowInInterpolator());
            v0_1.setAccessible(true);
            v0_1.set(this, v1);
        }
        catch(Exception v0) {
            v0.printStackTrace();
        }
    }

    public boolean onInterceptTouchEvent(MotionEvent arg2) {
        boolean v0_1;
        try {
            v0_1 = super.onInterceptTouchEvent(arg2);
        }
        catch(Exception v0) {
            v0.printStackTrace();
            v0_1 = false;
        }

        return v0_1;
    }

    public boolean onTouchEvent(MotionEvent arg2) {
        boolean v0_1;
        try {
            v0_1 = super.onTouchEvent(arg2);
        }
        catch(Exception v0) {
            v0.printStackTrace();
            v0_1 = false;
        }

        return v0_1;
    }
}

